package com.rpframework.module.common.bottom.constants;

/**
 * 微信接口和appid  appSecret  token
 * @author qiuchengbing
 *
 */
public class MenuConstant {
	/**
	 * 微信支付
	 */
	//提现  发送红吧
	public static final String sendredpack="https://api.mch.weixin.qq.com/mmpaymkttransfers/sendredpack";
	//微信支付获取预支付ID地址
	public static final String createOrderURL="https://api.mch.weixin.qq.com/pay/unifiedorder";
	//微信支付查询订单
	public static final String orderQuery="https://api.mch.weixin.qq.com/pay/orderquery";
	
	/**
	 * 用户管理接口
	 */
	
	//创建用户分组接口地址
	public static final String group_create_url="https://api.weixin.qq.com/cgi-bin/groups/create?access_token=ACCESS_TOKEN";
	//查询所有分组接口地址
	public static final String group_get_url="https://api.weixin.qq.com/cgi-bin/groups/get?access_token=ACCESS_TOKEN";
	//修改分组名接口地址
	public static final String group_update_url="https://api.weixin.qq.com/cgi-bin/groups/update?access_token=ACCESS_TOKEN";
	//移动用户分组接口地址
	public static final String group_updatemembers_url="https://api.weixin.qq.com/cgi-bin/groups/members/update?access_token=ACCESS_TOKEN";
	//查询用户所在分组接口地址
	public static final String group_getid_url="https://api.weixin.qq.com/cgi-bin/groups/getid?access_token=ACCESS_TOKEN";
	//批量移动用户分组
	public static final String group_batchupdate_url="https://api.weixin.qq.com/cgi-bin/groups/members/batchupdate?access_token=ACCESS_TOKEN";
	//删除分组
	public static final String group_delete_url="https://api.weixin.qq.com/cgi-bin/groups/delete?access_token=ACCESS_TOKEN";
	//修改用户备注名
	public static final String group_updateremark_url="https://api.weixin.qq.com/cgi-bin/user/info/updateremark?access_token=ACCESS_TOKEN";
	// 查询用户信息接口地址
	public static final String weixinUser_find_url = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN";
	//获取用户列表接口地址
	public static final String weixinUser_userget_url="https://api.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&next_openid=NEXT_OPENID";

	/**
	 * 菜单管理接口
	 */
	// 菜单查询（POST） 限100（次/天）
	public static final String menu_get_url = "https://api.weixin.qq.com/cgi-bin/menu/get?access_token=ACCESS_TOKEN";
	// 菜单创建（POST） 限100（次/天）
	public static final String menu_create_url = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN";
	// 菜单删除接口地址（POST） 限100（次/天）
	public static final String menu_delete_url = "https://api.weixin.qq.com/cgi-bin/menu/delete?access_token=ACCESS_TOKEN";
	
	//模版消息调用接口地址
	public static final String template_url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=ACCESS_TOKEN";
	
	// 获取access_token的接口地址（GET） 限200（次/天）
	public static final String access_token_url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";
	
	
	/**
	 * 授权接口地址
	 */
	//拉取用户信息
	public static final String oauth2_userinfo="https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN";
	//获取code接口
	public static final String oauth2_code_url="https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect";
	//通过code换取网页授权access_token
	public static final String oauth2_access_token_url="https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
	//刷新access_token
	public static final String oauth2_refresh_token_url="https://api.weixin.qq.com/sns/oauth2/refresh_token?appid=APPID&grant_type=refresh_token&refresh_token=REFRESH_TOKEN";
	//验证access_token是否有效
	public static final String oauth2_auth_url="https://api.weixin.qq.com/sns/auth?access_token=ACCESS_TOKEN&openid=OPENID";
	/**
	 * 群发消息接口
	 */
	//上传图文消息内的图片获取URL
	public static final String Mass_uploadimg_url="https://api.weixin.qq.com/cgi-bin/media/uploadimg?access_token=ACCESS_TOKEN";
	//上次图文消息素材
	public static final String Mass_uploadnews_url="https://api.weixin.qq.com/cgi-bin/media/uploadnews?access_token=ACCESS_TOKEN";
	//很据分组进行群发
	public static final String Mass_sendall_url="https://api.weixin.qq.com/cgi-bin/message/mass/sendall?access_token=ACCESS_TOKEN";
	//根据openID列表进行群发
	public static final String Mass_send_url="https://api.weixin.qq.com/cgi-bin/message/mass/send?access_token=ACCESS_TOKEN";
	//删除群发
	public static final String Mass_delete_url="https://api.weixin.qq.com/cgi-bin/message/mass/delete?access_token=ACCESS_TOKEN";
	//预览接口
	public static final String Mass_preview_url="https://api.weixin.qq.com/cgi-bin/message/mass/preview?access_token=ACCESS_TOKEN";
	//查询群发消息发送状态
	public static final String Mass_get_url="https://api.weixin.qq.com/cgi-bin/message/mass/get?access_token=ACCESS_TOKEN";
	/**
	 * 微信二维码接口
	 */
	//创建微信二维码接口请求
	public static final String qrcode_create_url="https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=TOKEN";
	//换取二维码接口
	public static final String qrcode_showqrcode_url="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=TICKET";
	
	/**
	 * 素材管理接口
	 */
	//创建临时素材
	public static final String media_upload_url="https://api.weixin.qq.com/cgi-bin/media/upload?access_token=ACCESS_TOKEN&type=TYPE";
	//获取永久素材
	public static final String get_material_url="https://api.weixin.qq.com/cgi-bin/material/get_material?access_token=ACCESS_TOKEN";
	//上传永久图文素材
	public static final String media_uploadnews_url="https://api.weixin.qq.com/cgi-bin/media/uploadnews?access_token=ACCESS_TOKEN";
	//上传永久素材
	public static final String add_material_url="https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=ACCESS_TOKEN&type=TYPE";
	//上传图片获取url接口
	public static final String media_uploadimg_url="https://api.weixin.qq.com/cgi-bin/media/uploadimg?access_token=ACCESS_TOKEN";
	//新增永久图文素材
	public static final String add_news_url="https://api.weixin.qq.com/cgi-bin/material/add_news?access_token=ACCESS_TOKEN";
	//删除永久素材
	public static final String del_material_url="https://api.weixin.qq.com/cgi-bin/material/del_material?access_token=ACCESS_TOKEN";
	//修改永久图文素材
	public static final String update_news_url="https://api.weixin.qq.com/cgi-bin/material/update_news?access_token=ACCESS_TOKEN";
	
	/**
	 * 群发接口
	 */
	//群发接口
	public static final String mass_send_url="https://api.weixin.qq.com/cgi-bin/message/mass/send?access_token=ACCESS_TOKEN";
	//预览接口
	public static final String mass_preview_url="https://api.weixin.qq.com/cgi-bin/message/mass/preview?access_token=ACCESS_TOKEN";
	
	//JS-JDK
	public static final String ticket_getticket_url="https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=ACCESS_TOKEN&type=jsapi";
	
	//客服发送消息接口
	public static final String custom_send_url="https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN";
	
}
